package com.shigu.mo.bo.requests;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 代理登陆
 */
public class AgentLoginRequest extends MoRequest{
    @NotEmpty(message = "账号不能为空")
    private String telephone;//账号
    @NotEmpty(message = "密码不能为空")
    private String password;//密码

    private String oemtag;//oem标识

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOemtag() {
        return oemtag;
    }

    public void setOemtag(String oemtag) {
        if ("undefined".equals(oemtag)) {
            oemtag="default";
        }
        this.oemtag = oemtag;
    }
}
